home *** CD-ROM | disk | FTP | other *** search
- "FILE"="Xteq Systems X-Setup Plugin 3.1"
- "TYPE"="6"
- "COUNT"="2"
- "UIPATH"="Appearance\Explorer\Shortcuts"
- "NAME"="Arrow"
- "LANGUAGE"="VBScript"
- "TEXT 1"="Display arrow on shortcuts"
- "TEXT 2"="Display arrow on DOS-shortcuts (*.pif)"
- "DESCRIPTION 1"="To display the white arrow in the left corner of a shortcut, activate the first option."
- "DESCRIPTION 2"="To display the white arrow in the left corner of a shortcut to a DOS-program (*.pif), activate the second option."
- "AUTHOR"="Xteq Systems"
- "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
- "COMMENT 1"="For more information, go to http://www.xteq.com or write to TeXHeX@gmx.net."
- "COMMENT 2"="Version 1.11"
-
-
-
- Sub Plugin_Initialize
- s=RegReadValue("HKCR\Lnkfile\IsShortcut")
- if IsEmpty(s)=false then
- SetUIElement 1,true
- end if
-
- s=RegReadValue("HKCR\piffile\IsShortcut")
- if IsEmpty(s)=false then
- SetUIElement 2,true
- end if
- End Sub
-
- Sub Plugin_CheckData(ElementIndex)
- End Sub
-
- Sub Plugin_Apply(ElementIndex,ElementSubIndex)
- b=GetUIElement(1)
- if b=true then
- Call RegWriteValue("HKCR\Lnkfile\IsShortcut","",1)
- else
- Call RegDeleteValue("HKCR\Lnkfile\IsShortcut")
- end if
-
- b=GetUIElement(2)
- if b=true then
- Call RegWriteValue("HKCR\piffile\IsShortcut","",1)
- else
- Call RegDeleteValue("HKCR\piffile\IsShortcut")
- end if
-
- Restart
- End Sub
-
-
- Sub Plugin_Terminate
- End Sub
-
-
-
-